package com.fortune.dal.dao;

import com.fortune.dal.model.CreditCardInfo;

import java.util.List;

public interface CreditCardInfoDAO {

    void insert(CreditCardInfo creditCardInfo) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(CreditCardInfo creditCardInfo) throws Exception;

    List<CreditCardInfo> queryByModel(CreditCardInfo creditCardInfo) throws Exception;

    CreditCardInfo queryById(Integer id) throws Exception;
    
}
